<details class="meeting-polls__question" data-question="<%= question.id %>" data-status="<%= question.status %>" <%= "open" if local_assigns.fetch(:open_question, nil) == question %>>
  <% if question.published? %>
    <%= render partial: "decidim/meetings/polls/questions/published_question", locals: { question:, form: local_assigns.fetch(:form, nil) } %>
  <% elsif question.closed? %>
    <%= render partial: "decidim/meetings/polls/questions/closed_question", locals: { question: } %>
  <% end %>
</details>
